home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / CDEF Set #1 ƒ / Extras / Demo App Project Files / CDEF Demo App.h < prev    next >
Encoding:
Text File  |  1996-11-30  |  965 b   |  53 lines  |  [TEXT/CWIE]

  1. // Jason Giles hacked this together...
  2.  
  3.  
  4. /************* Standard Library Includes ************/
  5. #include <AppleEvents.h>
  6. #include <Windows.h>
  7. #include <GestaltEqu.h>
  8. #include <Dialogs.h>
  9. #include <Notification.h>
  10. #include <Processes.h>
  11. #include "stdio.h"
  12. #include "string.h"
  13. #include <Sound.h>
  14. #include <Controls.h>
  15. #include <ctype.h>
  16. #include <Math.h>
  17. #include <StandardFile.h>
  18.  
  19. #ifndef __CDEFDEMOAPP__
  20. #define __CDEFDEMOAPP__
  21.  
  22. /**************   Variables   **************/
  23.  
  24. #define    kBaseResID             128
  25. #define kMainWindowResID    130
  26. #define kMinTextPosition    0
  27. #define kMaxTextPosition    32767
  28.  
  29. #define kMoveToFront         (WindowPtr)-1L
  30. #define kSleep                 2000000
  31. #define kPlainStyle         0
  32.  
  33. #define kLeftMargin         4
  34. #define kRowStart             260
  35. #define kFontSize             12
  36. #define kRowHeight             (kFontSize+2)
  37.  
  38. #define kHorizontalOffset     0
  39. #define kGestaltMask         1L
  40.  
  41. #define mAutoDye            100
  42.  
  43. // end menu #defines
  44.  
  45.  
  46.  
  47. #if PRAGMA_ALIGN_SUPPORTED
  48. #pragma options align=reset
  49. #endif
  50.  
  51.  
  52. #endif
  53.